//
//  PictureViewController.h
//  Qiubai
//
//  Created by Wu Dongyang on 13-5-30.
//  Copyright (c) 2013年 Wu Dongyang. All rights reserved.
//

#import <UIKit/UIKit.h>

#define SupportPhoneUpSideDown NO


@protocol PictureViewControllerDelegate <NSObject>
-(void) PictureViewDidDismiss;
@end

@interface PictureViewController : UIViewController
@property (weak, nonatomic) id<PictureViewControllerDelegate> delegate;
@property (strong, nonatomic) IBOutlet UIView *contentBackView;
@property (strong, nonatomic) IBOutlet UIScrollView *contentScrollView;
@property (strong, nonatomic) IBOutlet UIImageView *imageView;

-(id)initWithThumbImage:(UIImage *)image imageView:(UIView *)imageView largeImagePath:(NSString *)largeImagePath;//只用这个就直接显示到window了

-(IBAction)savePic:(id)sender;
@property (strong, nonatomic) IBOutlet UIButton *saveButton;
@property (strong, nonatomic) IBOutlet UILabel *saveDoneLabel;

@end
